package o;

import com.huawei.appgallery.packagemanager.api.bean.ManagerTask;
import java.io.Serializable;
import java.util.Comparator;

public class cpi implements Comparator<ManagerTask>, Serializable {
    public /* synthetic */ int compare(Object obj, Object obj2) {
        return ˊ((ManagerTask) obj, (ManagerTask) obj2);
    }

    public int ˊ(ManagerTask managerTask, ManagerTask managerTask2) {
        return managerTask.taskIndex - managerTask2.taskIndex;
    }
}
